This application is a text search engine designed to allow users to upload text files, index their contents, and perform searches using term frequency-inverse document frequency (TF-IDF) and similarity measures. The app is built using TypeScript and React, leveraging various UI components for a responsive and user-friendly interface. To use the app, users can start by uploading multiple text files in .txt format. Once the files are uploaded, the user can initiate the indexing process, which involves tokenizing the text, calculating term frequencies, and generating a TF-IDF table. The indexing progress is visually represented, allowing users to track the status of the operation. After indexing, users can switch to the search tab, where they can enter keywords to search across the indexed documents. The app supports two search methods: dot product similarity and cosine similarity, providing flexibility in how results are ranked. The search results display the ranked documents along with their corresponding similarity scores. Key features of the app include: - File upload functionality that supports multiple .txt files. - An indexing process that calculates term frequencies and TF-IDF values. - A search interface that allows users to query indexed documents using different similarity measures. - A responsive UI built with React components, including tabs for navigation, tables for displaying results, and progress indicators for indexing. Overall, this text search engine provides a straightforward and efficient way to analyze and search through text documents, making it a useful tool for developers and researchers working with textual data.
No tags
Last Updated June 15, 2025